Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runner subcmd: support -v flag for run #45

Merged
merged 2 commits into from
Jan 15, 2024
Merged

runner subcmd: support -v flag for run #45

merged 2 commits into from
Jan 15, 2024

Conversation

PugDeveloper
Copy link

added klog and support for -v. Using -v=9 for request debug.

@PugDeveloper PugDeveloper force-pushed the swei/addKlog branch 3 times, most recently from 44bc663 to 0ffa88d Compare January 12, 2024 04:00
},
Action: func(cliCtx *cli.Context) error {
// initialize klog
klog.InitFlags(nil)
flag.Set("v", strconv.Itoa(cliCtx.Int("v")))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to check err.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added to check err, change flag to string, in order to have the error check work. I can leave it as int flag but the urfave/cli error kicks in before the action.

Sara Wei added 2 commits January 12, 2024 05:46
add klog

add klog

add klog

temp commit
update helm chart and value yaml

update helm chart and value yaml
@PugDeveloper PugDeveloper linked an issue Jan 12, 2024 that may be closed by this pull request
@fuweid fuweid marked this pull request as ready for review January 15, 2024 01:53
Copy link
Collaborator

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuweid fuweid merged commit 0be56d2 into main Jan 15, 2024
4 checks passed
@fuweid fuweid deleted the swei/addKlog branch January 15, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[runner subcmd] support -v flag for run
2 participants